Uses of Class
edu.uky.ai.tic.state.State
| Package | Description |
|---|---|
| edu.uky.ai.tic |
This package provides the game of Tic Tac Toe and the tools for building AI
players.
|
| edu.uky.ai.tic.ai |
This package contains the tools needed to build an AI for playing Tic Tac
Toe that uses adversarial game tree search techniques.
|
| edu.uky.ai.tic.state |
This package contains the model of the state of a game of Tic Tac Toe along
with a representation of all the next available moves and how they change
the game's state.
|
-
Uses of State in edu.uky.ai.tic
Fields in edu.uky.ai.tic declared as State Modifier and Type Field Description StateGame. stateThe final state of the game after it is over -
Uses of State in edu.uky.ai.tic.ai
Fields in edu.uky.ai.tic.ai declared as State Modifier and Type Field Description StateGameTree. stateThe current state of the gameMethods in edu.uky.ai.tic.ai with parameters of type State Modifier and Type Method Description DecisionAlphaBetaBot. chooseMove(State state)DecisionBot. chooseMove(State state)DecisionMinMaxBot. chooseMove(State state)DecisionRandomBot. chooseMove(State state)static doubleUtility. evaluate(State state)Returns the desirability of the current state for player X.Constructors in edu.uky.ai.tic.ai with parameters of type State Constructor Description GameTree(Move move, State state, GameTree parent)Constructs a new game tree with a current state that resulted from taking a given move.GameTree(State initial)Constructs a new game tree with some initial state as the root. -
Uses of State in edu.uky.ai.tic.state
Methods in edu.uky.ai.tic.state that return State Modifier and Type Method Description StateState. transition(Move move)Returns the state that would result from taking the given move.